package Test;

import java.math.BigDecimal;

/**
 * @author Alger
 * @date 2021/9/9  14:20
 */
public class T10 {
    public static void main(String[] args) {
        int a=16;
        BigDecimal bigDecimal = new BigDecimal(a);
        BigDecimal bigDecimal1 = new BigDecimal(7);

        BigDecimal divide = bigDecimal.divide(bigDecimal1,2,BigDecimal.ROUND_HALF_UP);

        System.out.println(divide);
    }
}
